package com.sangfor.ssl.service.auth;

/* loaded from: classes2.dex */
public enum AuthType {
    AUTH_TYPE_NONE(0),
    AUTH_TYPE_LOCAL_PASS(1),
    AUTH_TYPE_CERT(2),
    AUTH_TYPE_SMS(8),
    AUTH_TYPE_HID(16),
    AUTH_TYPE_TOKEN(32),
    AUTH_TYPE_EMM(512),
    AUTH_TYPE_TICKET(2048),
    AUTH_TYPE_TWFID(100);
    
    private int mValue;

    public int intValue() {
        return this.mValue;
    }

    public static AuthType valueOf(int i) {
        if (i != 0) {
            if (i != 1) {
                if (i != 8) {
                    if (i != 16) {
                        if (i != 32) {
                            if (i != 100) {
                                if (i != 512) {
                                    if (i == 2048) {
                                        return AUTH_TYPE_TICKET;
                                    }
                                    throw new IllegalArgumentException("AuthType valueOf failed, invalid value = " + i);
                                }
                                return AUTH_TYPE_EMM;
                            }
                            return AUTH_TYPE_TWFID;
                        }
                        return AUTH_TYPE_TOKEN;
                    }
                    return AUTH_TYPE_HID;
                }
                return AUTH_TYPE_SMS;
            }
            return AUTH_TYPE_LOCAL_PASS;
        }
        return AUTH_TYPE_NONE;
    }

    AuthType(int i) {
        this.mValue = i;
    }
}
